//
//  ContentView.swift
//  FuncFanc
//
//  Created by careate-hubing on 2021/12/15.
//  Copyright © 2021 huhu. All rights reserved.
//

import SwiftUI

struct LandmarkDetail: View {
    @available(iOS 13.0.0, *)
    var body: some View {
        VStack{
            MapView().frame(height:300).edgesIgnoringSafeArea(.top)
            CircleImage()
                .offset(y:-130)
                .padding(.bottom,-130)
            VStack{
                Text("Turtle Rock")
                    .font(.title)
                HStack{
                    Text("Joshua Tree Nation Park")
                        .font(.subheadline)
                    Spacer()
                    Text("California")
                        .font(.subheadline)
                }
            }.padding()
            Spacer()
        }
        
    }
}

struct ContentView_Previews: PreviewProvider {
    @available(iOS 13.0.0, *)
    static var previews: some View {
        LandmarkDetail()
    }
}
